package nc.ui.fp.fp612;

import nc.ui.fp.button.IPlanBillButton;
import nc.ui.fp.fp611.PlanPubCTL;
import nc.ui.fp.fp611.PlanTreeData;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.ui.trade.pub.IVOTreeData;
import nc.vo.fp.fp611.WzConstant;

public class PlanUnitCTL extends PlanPubCTL{

	private String m_strBillType = "36YM";

	int[] iListBtnAry = {
			IBillButton.Query,
			IPlanBillButton.Unite,
			IPlanBillButton.UnUnite,
			IBillButton.Save,
			IBillButton.Edit,
			IBillButton.Cancel,
//			IBillButton.Action,
			 IBillButton.Audit,
			 IBillButton.CancelAudit,
			IPlanBillButton.Report, IPlanBillButton.CancleReport,
			IBillButton.Card, IPlanBillButton.QueryLowerPlan,
			IPlanBillButton.AdjustPlan, IPlanBillButton.Return,
			IBillButton.Refresh, IBillButton.Print,IPlanBillButton.QueryReport,IPlanBillButton.QueryAudit,IPlanBillButton.QueryAdjustAudit };

	int[] iCardBtnAry = {
			IBillButton.Query,
			IPlanBillButton.UnUnite,
			IBillButton.Save,
			IBillButton.Edit,
			IBillButton.Cancel,
			// IBillButton.Action,
			 IBillButton.Audit,
			 IBillButton.CancelAudit,
			IPlanBillButton.Report, IPlanBillButton.CancleReport,
			IBillButton.Return, IPlanBillButton.QueryLowerPlan,
			IPlanBillButton.AdjustPlan, IPlanBillButton.Return,
			IBillButton.Print, IBillButton.Refresh,IPlanBillButton.QueryAudit,IPlanBillButton.QueryAdjustAudit ,
			WzConstant.Relevance};

	PlanTreeData treedata = new PlanTreeData();

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.bill.ITableTreeController#getTableTreeData()
	 */
	public IVOTreeData getTableTreeData() {
		// TODO Auto-generated method stub
		return treedata;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.bill.ICardController#getCardBodyHideCol()
	 */
	public String[] getCardBodyHideCol() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.bill.ICardController#getCardButtonAry()
	 */
	public int[] getCardButtonAry() {
		// TODO Auto-generated method stub
		return iCardBtnAry;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.bill.ICardController#isShowCardRowNo()
	 */
	public boolean isShowCardRowNo() {
		// TODO Auto-generated method stub
		return false;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.bill.ICardController#isShowCardTotal()
	 */
	public boolean isShowCardTotal() {
		// TODO Auto-generated method stub
		return false;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.controller.IControllerBase#getBillType()
	 */
	public String getBillType() {
		// TODO Auto-generated method stub
		return m_strBillType;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.controller.IControllerBase#getBodyCondition()
	 */
	public String getBodyCondition() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.controller.IControllerBase#getBodyZYXKey()
	 */
	public String getBodyZYXKey() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.controller.IControllerBase#getBusinessActionType()
	 */
	public int getBusinessActionType() {
		// TODO Auto-generated method stub
		return IBusinessActionType.PLATFORM;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.controller.IControllerBase#getChildPkField()
	 */
	public String getChildPkField() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.controller.IControllerBase#getHeadZYXKey()
	 */
	public String getHeadZYXKey() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.controller.IControllerBase#getPkField()
	 */
	public String getPkField() {
		// TODO Auto-generated method stub
		return "pk_plan";
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.controller.IControllerBase#isEditInGoing()
	 */
	public Boolean isEditInGoing() throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.controller.IControllerBase#isExistBillStatus()
	 */
	public boolean isExistBillStatus() {
		// TODO Auto-generated method stub
		return true;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.controller.IControllerBase#isLoadCardFormula()
	 */
	public boolean isLoadCardFormula() {
		// TODO Auto-generated method stub
		return true;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.bill.IListController#getListBodyHideCol()
	 */
	public String[] getListBodyHideCol() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.bill.IListController#getListButtonAry()
	 */
	public int[] getListButtonAry() {
		// TODO Auto-generated method stub
		return iListBtnAry;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.bill.IListController#getListHeadHideCol()
	 */
	public String[] getListHeadHideCol() {
		// TODO Auto-generated method stub
		return null;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.bill.IListController#isShowListRowNo()
	 */
	public boolean isShowListRowNo() {
		// TODO Auto-generated method stub
		return false;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see nc.ui.trade.bill.IListController#isShowListTotal()
	 */
	public boolean isShowListTotal() {
		// TODO Auto-generated method stub
		return false;
	}

	public void setBillType(String strBillType) {
		m_strBillType = strBillType;
	}

}
